#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int arr1[5] = { 1,2,3,4,5 };
	int arr2[5] = { 11,12,13,14,15 };
	for (int i = 0;i < 5;i++)
	{
		int tem = 0;
		tem = arr1[i];
		arr1[i] = arr2[i];
		arr2[i] = tem;

	}
	for (int j = 0;j < 5;j++)
	{
		printf("%d ", arr1[j]);
	}
	printf("\n");
	for (int j = 0;j < 5;j++)
	{
		printf("%d ", arr2[j]);
	}
	return 0;
}




//#include<stdio.h>
//int main()
//{
//	int arr[10] = { 1,2,3,4,5,6,7,8,9,10 };
//	int sum = 0;
//	for (int i = 0;i < 10;i++)
//	{
//		sum = sum + arr[i];
//	}
//	double p = sum / 10.0;
//	printf("%lf", p);
//	return 0;
//}